package site.yunnong.atvris.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author zjh
 * @date 2021/7/13 23:52
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommentQueryParam {

    @ApiModelProperty("媒体id")
    private Long mediaId;

    @ApiModelProperty("媒体类型 0:视频")
    private Integer mediaType;

    @ApiModelProperty("页码, 默认1")
    private Integer pageNum;

    @ApiModelProperty("每页记录数，默认10")
    private Integer pageSize;
    
    @ApiModelProperty(value = "排序方式： 0： 按点赞量排序，1：按时间排序")
    private Integer sortType;

    @ApiModelProperty(value = "排序规则", dataType = "String", example = "desc")
    private String sortRule = "desc";
}
